package edu.gyu.myshop.service;

import edu.gyu.myshop.model.Cart;
import com.baomidou.mybatisplus.extension.service.IService;
import edu.gyu.myshop.model.Goods;

import javax.servlet.http.HttpSession;
import java.util.List;
/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ls
 * @since 2024-06-18
 */
public interface CartService extends IService<Cart> {
    boolean putCart(Goods goods, HttpSession session);
    List<Cart> listCart(HttpSession session);
}